﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;


public class DiskScheduler
{
   
	public int optimize(int start, int[] sectors)
	{


        return 0;
	}
}

public class Soccer
{
    public int maxPoints(int[] wins, int[] ties)
    {
        List<int> score = new List<int>();
        int temp;
        int maxP;
        for (int i = 0; i < wins.Length; i++)
        {
            temp = 3 * wins[i] + ties[i];
            score.Add(temp);
        }
        maxP = score.Max();
        return maxP;
    }

}